跳转至

CALL_RECORD

结构体定义

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
struct CALL_RECORD {
    BOOL missedCall;            
    char devName[32];           
    unsigned int callType;      
    DD_TIME recordTime;         
    DD_TIME startTime;          
    DD_TIME endTime;            
    GUID chlId;                 
    unsigned int devType;       
    unsigned int communityNo;   
    unsigned int sectorNo;      
    unsigned int buildingNo;    
    unsigned int unitNo;        
    unsigned int floorNo;       
    unsigned int doorStationNo; 
    char resv[32];              
};
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct CALL_RECORD
{
    public bool missedCall;
    [MarshalAs(UnmanagedType.ByValTStr, SizeConst = 32)]
    public string devName;
    public UInt32 callType;
    public DD_TIME recordTime;
    public DD_TIME startTime;
    public DD_TIME endTime;
    public GUID chlId;
    public UInt32 devType;
    public UInt32 communityNo;
    public UInt32 sectorNo;
    public UInt32 buildingNo;
    public UInt32 unitNo;
    public UInt32 floorNo;
    public UInt32 doorStationNo;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 32)]
    public byte[] resv;
}

功能描述

门禁室内机通话记录。

成员说明

成员 类型 说明
missedCall BOOL 是否为未接来电
devName char[32] 设备名称
callType unsigned int 呼叫类型, 参考ACCESS_CONTROL_CALL_TYPE
recordTime DD_TIME 记录时间
startTime DD_TIME 通话开始时间
endTime DD_TIME 通话结束时间
chlId GUID 通道GUID
devType unsigned int 设备类型,参考 ACCESS_CONTROL_DEVICE_TYPE
communityNo unsigned int 小区号
sectorNo unsigned int 单元号
buildingNo unsigned int 楼栋号
unitNo unsigned int 房间号
floorNo unsigned int 楼层号
doorStationNo unsigned int 门号
resv char[32] 预留字段。
错误码